/*
 *  Copyright 2023 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../../styles/variables.less';

.app-badge {
  background-color: #06a4a4;
  border-radius: 13px;
  padding: 4px 8px;
  color: #fff;

  .ant-typography {
    color: inherit;
    font-weight: 600;
    font-size: 10px;
    line-height: 12px;
  }
}

.resolution {
  width: max-content;
  &.ack {
    background-color: @blue-1;
    border: 1px solid @blue-2;
    .ant-typography {
      color: @blue-2;
    }
  }
  &.new {
    background-color: @purple-1;
    border: 1px solid @purple-2;
    .ant-typography {
      color: @purple-2;
    }
  }
  &.resolved {
    background-color: @green-4;
    border: 1px solid @green-3;
    .ant-typography {
      color: @green-3;
    }
  }
  &.assigned {
    background-color: #ffbe0e26;
    border: 1px solid #d99600;
    .ant-typography {
      color: #d99600;
    }
  }
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  background: @white;
  border: 0.6px solid @grey-200;
  border-radius: 3px;
  font-size: 10px;
  color: @orange-600;
  line-height: 1;
  white-space: nowrap;
}
